package com.codinghero.example.http.router;

public class RouterAdminConfig {
	private String protocol = "http";
	private String ip = "192.168.1.1";
	private Integer port = 80;

	private String loginName = "admin";
	private String loginPassword = "juven1957tus";

	private String adslName = "090001354392";
	private String adslPassword = "";
	private String adslEncryptedPassword = "Hello123World";

	private String openAdslUrl = "/userRpm/PPPoECfgRpm.htm?"
			+ "linktype=4&waittime2=15&wantype=2&VnetPap=0&Connect=%C1%AC+%BD%D3"
			+ "&acc=" + adslName + "&psw=" + adslEncryptedPassword;
	private String closeAdslUrl = "/userRpm/PPPoECfgRpm.htm?"
			+ "linktype=4&waittime2=15&wantype=2&VnetPap=0&Disconnect=%B6%CF+%CF%DF"
			+ "&acc=" + adslName + "&psw=" + adslEncryptedPassword;

	public String getOpenAdslUrl() {
		return openAdslUrl;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

	public String getAdslName() {
		return adslName;
	}

	public void setAdslName(String adslName) {
		this.adslName = adslName;
	}

	public String getAdslPassword() {
		return adslPassword;
	}

	public void setAdslPassword(String adslPassword) {
		this.adslPassword = adslPassword;
	}

	public String getAdslEncryptedPassword() {
		return adslEncryptedPassword;
	}

	public void setAdslEncryptedPassword(String adslEncryptedPassword) {
		this.adslEncryptedPassword = adslEncryptedPassword;
	}

	public void setOpenAdslUrl(String openAdslUrl) {
		this.openAdslUrl = openAdslUrl;
	}

	public String getCloseAdslUrl() {
		return closeAdslUrl;
	}

	public void setCloseAdslUrl(String closeAdslUrl) {
		this.closeAdslUrl = closeAdslUrl;
	}
}
